package cn.echo.modules.cms.utils;

import java.io.UnsupportedEncodingException;

/**
 * Created by Administrator on 2017/4/13.
 */
public class StringUtf8 {

    public String getUtf8(String str){
        String strs="";
        try {
            strs=new String(str.getBytes("ISO-8859-1"),"UTF-8");
        } catch (UnsupportedEncodingException e) {
            e.printStackTrace();
        }


        return  strs;
    }
}
